package com.vue.vuedemo.dao;

import com.vue.vuedemo.pojo.Sportscircle;
import com.vue.vuedemo.pojo.Zhuanqu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SportsCircleMapper {

    List<Sportscircle> findAll();

    Integer updateZan(Integer sId);

    Integer addSports(Sportscircle sportscircle);

    List<Sportscircle> pIdFindAll(Integer pId);

    Sportscircle sIdFindAll(Integer sid);

    Integer dellSports(Integer sid);

    List<Sportscircle> nameFindAll(@Param("sName") String sName);

    List<Sportscircle> stypeFindAll(@Param("sType") String sType);

    List<Zhuanqu> ZhuanQuFindAll();

    Integer zqAdd(Zhuanqu zhuanqu);

    Integer zaDel(Integer id);

    Integer tuijianzq(Integer id);

    Integer jiangjizq(Integer id);

    List<Zhuanqu> ZhuanQuIndexNumFindAll();

    Sportscircle sportscircleContext(String context);
}
